package zuoye0514;

/**
 * 网卡类
 * 
 * @author Y
 *
 */
public class NetCard implements PCI {

	private String name;
	private double speed;

	public NetCard(String name, double speed) {
		this.name = name;
		this.speed = speed;
	}

	public void start() {
		System.out.println(name + "启动中...");
		System.out.println("指示灯亮起...");
		System.out.println("开始接收网络信息,速度超快每秒" + speed + "M");
		System.out.println("正在持续接收和上传网络数据...");

	}

	public void stop() {
		System.out.println("网卡停止工作,指示灯熄灭");

	}

}
